const buy = ()=> new Promise((resolve)=>{
  setTimeout(()=>{
    resolve(Math.random*1000);
  },Math.random()*1000);
});

